#ifndef RRRENDERER_H
#define RRRENDERER_H

#include "rrmovez.h"
#include "rrrotatey.h"
#include "rrprojectivetrans.h"
#include "rrclipping.h"
#include "rrviewport.h"
#include "rrrasterizer.h"

class RRRenderer
{
private:
    RRPrim prim1;			/* クリッピングに入れるやつ */
    RRPrim prim2;			/* クリッピングから出てくやつ */
    RRVertex vert;
    float color[4];
    RRMoveZ zmover;
    RRRotateY yrotater;
    RRProjectiveTrans projector;
    RRClipping clipping;
    RRViewport viewport;
    RRRasterizer rasterizer;

public:
    void rrDraw(RRPrim *arg);
    int rrGetPointsNum();
    RRFragment rrGetPoint(int index);
    void rrPrintVert(int index);
    void rrPrintRast();
};


#endif // RRRENDERER_H
